package com.js.auth.server.module.client.mapper;

import com.js.auth.server.module.client.entity.AuthClient;
import com.js.auth.server.module.client.entity.AuthClientSer;
import com.js.common.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;

/**
 * @author ygl
 * @create 2018-11-06
 * @DESCRIPTION
 **/
public interface AuthClientSerMapper extends BaseMapper<AuthClientSer> {

    @Delete("delete from auth_client_service where client_id = #{id}")
    void deleteByServiceId(String id);
}